<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head th:replace="~{/back/header::header-head}">
</head>
<body>
<div th:replace="~{/back/header::header-body}"></div>




<div class="container">

<table class="table">
    <thead>
    <tr>
        <th scope="col">文章标题</th>
        <th scope="col">文章创建时间</th>
        <th scope="col">文章分类</th>
        <th scope="col">操作</th>
    </tr>
    </thead>
    <tbody>
    <tr th:each="article:${testScope}">
        <th scope="row" th:text="${article.getTitle()}">1</th>
        <td th:text="${article.getCreated()}">Mark</td>
        <td th:text="${article.getCategories()}">Otto</td>
        <td > <button >
            <a th:href="@{'/article/delete/'+${article.getId()}}">删除</a>
            <a th:href="@{'/article/modify/'+${article.getId()}}">修改</a>
        </button>

        </td>
    </tr>
    </tbody>
</table>
</div>

<div th:replace="~{/back/end::header-end}"  ></div>
</body>
</html>